import json

# with open('./label_train_v2.txt', 'r', encoding='utf-8') as f:
#     lines = f.readlines()
#     for user_json in lines:
#         user_list = user_json.split('|')
#         user_dic = json.loads(user_list[1])
#         print(user_dic)


with open('test2.txt', 'r', encoding='utf-8') as f:
    lines = f.readlines()
    for user_json in lines:
        user_list = user_json.split('*')
        user_dic = json.loads(user_list[1])
        print(user_dic)




